import api from "./index";

/* 获取用户花瓣信息 */
export const getFlowerNum = data =>
  api.get("/api/my/flower/getFlowerNum", data);

/* 合成花朵 */
export const composeFlowers = data => api.post("/api/my/flower/synthesisFlower", data);

/* 花瓣记录 */
export const petalRecords = data => api.get("/api/my/getPetalRecords", data);

/* 攒花瓣 处理 */
export const gainPetalHandle = data => api.get("/api/my/myFlowerInfo", data);

/* 攒花瓣 列表 */
export const gainPetalList = data => api.get("/api/my/myFlower", data);
